package com.mingdong.first.factory.absFactory;

import com.mingdong.first.factory.pizza.EnglishPizza;
import com.mingdong.first.factory.pizza.Pizza;

public class EnglishPizzaFactory implements AbStractFactory {

	public Pizza createPizza(String type) {

		Pizza pizza = null;
		
		if(type.equals("english")){
			pizza = new EnglishPizza();
		}
		
		return pizza;
	}

}
